#ifndef COORD_H
#define COORD_H
#include "Vlare.h"

///Deprecated - CSS like postfixes '%' c++0x left/right/bottom
enum interpretCoord
{
	IPRET_ABSOLUT = 0x0001,
	IPRET_RELATIVE = 0x0002,
	//IPRET_CARTESIAN = 0x0010,
	//IPRET_POLAR = 0x0020 < no demand for this feature
};

class Coord1D
{
	Vloat value;
	interpretCoord ipret;
public:
	//Coord1D operator "" %(const int relative);
	Coord1D(void);
	~Coord1D(void);
};

class Coord2D
{
	Coord1D x;
	Coord1D y;
public:
	Coord2D(void);
	~Coord2D(void);
};

void update_Coord1D(Hook& me, const Hook *const up2d);

#endif